﻿using GWSoft.Framework.Core.IRepositories;
using GWSoft.Framework.Core.Services;
using GWSoft.Framework.WebSite.IRepositories;
using GWSoft.Framework.WebSite.IServices;
using GWSoft.Framework.WebSite.Models;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;

namespace GWSoft.Framework.WebSite.Services
{
    public class OrganizeService : BaseService<Organize, string>, IOrganizeService
    {
        public OrganizeService(IOrganizeRepository repository) : base(repository)
        {
        }

        public IList<Organize> GetByCache(Expression<Func<Organize, bool>> where = null)
        {
            return Get(where);
        }
    }
}
